package com.hefei.customer.service;

import java.util.List;

import com.hefei.api.customer.vo.SysMenu;
import com.hefei.api.customer.vo.easyui.PageHelper;
import com.hefei.common.exception.ClientException;


public interface IMenuService {
	
	public Long getDatagridTotal(SysMenu menu)throws ClientException;
	
	public List<SysMenu> datagridMenu(PageHelper page)throws ClientException;
	
	public List<SysMenu> getAll(PageHelper page)throws ClientException;
	
	public void deleteMenuById(Integer menuId)throws ClientException;
	
	public SysMenu getMenuById(Integer menuId)throws ClientException;
	
	public List<SysMenu> listAllParentMenu()throws ClientException;
	
	public void saveMenu(SysMenu menu)throws ClientException;
	
	public List<SysMenu> listSubMenuByParentid(Integer parentid)throws ClientException;
	
	public List<SysMenu> listAllMenu()throws ClientException;
	
	public List<SysMenu> listAllSubMenu()throws ClientException;
	
	
	

}
